@import "../../style/constant";

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 16px;
  position: relative;
  &:after {
    content: ' ';
    position: absolute;
    left: -50%;
    width: 200%;
    height: 200%;
    border: 1px solid $borderColor;
    border-radius: 24px;
    transform: scale(0.5);
  }
}

.commonPlanCard {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 12px;
  padding: 16px;
  line-height: 22px;
  background-color: white;
  @include ifndef(box-shadow, 0px 2px 16px 0px rgba(207, 207, 207, 0.3), rn);
  position: relative;
}

.content {
  flex: 1;
  z-index: 1;
}

.bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 14px;
}

.btnContainer {
  width: 66px;
  height: 26px;
  display: flex;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  background-color: $theme;
}

.bottomBtn {
  height: 26px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  color: $common;
  padding: 0 12px;
  border-radius: 13px;
}

.normalBtn {
  composes: bottomBtn;
  color: $primaryBlack;
  position: relative;
  &:before {
    content: ' ';
    position: absolute;
    left: -50%;
    width: 200%;
    height: 200%;
    border: 1px solid $borderColor;
    border-radius: 26px;
    transform: scale(0.5);
  }
}

.themeBtn {
  composes: bottomBtn;
  background: $theme;
}

.disabledBtn {
  background: #F9FAF9;
  color: $common;
  &:before {
    border: none;
  }
}

.viewedBtn {
  composes: bottomBtn;
  background: #F9FAF9;
}

.doneIcon {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -14px;
  margin-top: -14px;
  width: 28px;
  height: 28px;
}

.viewedBtnText {
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: $common;
  line-height: 20px;
}

.btnText {
  color: white;
  font-size: 14px;
}

.btnText2 {
  color: $primaryBlack;
  font-size: 14px;
  font-weight: 400;
}

.firstText {
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
}

.titleCard {
  display: flex;
  .downIconBox {
    width: 65px;
    position: relative;
  }
}

.title {
  flex: 1;
  font-size: 16px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: $primaryBlack;
  line-height: 22px;
  max-height: 44px;
  @include line-ellipsis-x(2);
}

.tips {
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: $common;
  line-height: 20px;
  max-height: 20px;
  @include line-ellipsis-x(1);
}

.descText {
  display: flex;
  flex: 1;
}

.minDesc {
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: $common;
  line-height: 20px;
  max-height: 20px;
  margin-right: 8px;
}

.disabledText {
  color: $weak;
}

.disabledC2Text {
  color: $weaker;
}

.tipsContainer {
  display: flex;
  flex: 1;
  max-height: 20px;
  align-items: center;
  padding-right: 2px;
}


.importantContainer {
  display: flex;
  margin-right: 8px;
  height: 14px;
  width: 31px;
  min-width: 31px;
}

.themeText {
  color: $theme;
}

.whiteText {
  color: #FFFFFF;
}

.image {
  position: absolute;
  top: 0;
  right: 0;
  width: 94px;
  height: 94px;
}
